package com.example.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.model.entity.Person;
import com.example.model.entity.Prop;
import com.example.model.entity.SuppliesRealinfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * SuppliesType entity
 * 2020-08-27 18:59
 */
@Data
@Accessors(chain = true)
public class SuppliesVo implements Serializable {

	private static final long serialVersionUID = 1L;
	@TableId(value = "supplies_id", type = IdType.ID_WORKER_STR)
	private String suppliesId;
	private String suppliesNum;
	private String suppliesName;
	private String typeId;
	private Long status;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	private Long isValid;
	private List<Person> personList;
	private List<Prop> propList;
	private String suppliesProp;
	private List<SuppliesRealinfo> suppliesRealinfoList;
	private String suppliesRealnfo;
	private String reSuppliesId;
}
